package com.xyw.code.platform.webapps.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xyw.code.platform.common.entity.po.SysRoleMenu;
import com.xyw.code.platform.webapps.dao.SysRoleMenuMapper;
import com.xyw.code.platform.webapps.service.ISysRoleMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色菜单表 服务实现类
 * </p>
 *
 * @author xyw
 * @since 2020-02-07
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements ISysRoleMenuService {

    @Override
    public List<String> getMenuIdByUserId(String userId) {
        return baseMapper.getMenuIdByUserId(userId);
    }
}
